how to get id of parent element in jquery

57

how to get id of parent element in jquery -

$(this).parent().attr('id');

Comments

Submit
0 Comments